﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.Generic;
using System.ComponentModel;
using System.Collections.Specialized;
using System.Collections.ObjectModel;

namespace QuickTasks.ViewModels
{
    public  class ListClass<T>
    {

         private static ListClass<T> instance;
       
        public static ListClass<T> Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new ListClass<T>();
                }
                return instance;
            }
        }
        private ObservableCollection<T> _list = new ObservableCollection<T>();
        public ObservableCollection<T> list
        {
            get
            {
                return _list;
            }

            set
            {
                if (_list != value)
                {
                    _list = value;
                   
                }

            }
        }

        
       
    }
    public static class properties
    {
        private static object _props = new object();
        public static object props
        {
            set { _props = value; }
            get { return _props; }
        }
    }
}
